home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / text / mac / faqs.140 < prev    next >
Text File  |  1996-02-12  |  28KB  |  758 lines

  1. Frequently Asked Questions (FAQS);faqs.140
  2.  
  3.  
  4.  
  5.     This is a general technique that allows you to bind in specific system
  6.     routines, while still referencing the standard shared libraries.
  7.  
  8.     Specifically, use this command to bind the xlf libraries to the Fortran
  9.     objects:
  10.  
  11.        $ ld -bh:4 -T512 -H512 <your objects> -o intermediat.o \
  12.          -bnso -bI:/lib/syscalls.exp -berok -lxlf -bexport:/usr/lib/libg.exp \
  13.          -lg -bexport:<your export file>
  14.  
  15.     The argument -bexport:<your export file> specifies a file with the
  16.     name of all entry points that are to be visible outside the intermediate
  17.     module.  Put one entrypoint name on a line.  The -bI:/lib/libg.exp line
  18.     is required for proper functioning of the program.  The -berok argument
  19.     tells the binder that it is ok to have unresolved references, at least
  20.     at this time (you would think -r would work here, but it doesn't seem to).
  21.     The -bnso argument causes the required modules to be imported
  22.     into the object.  The -lxlf, of course, is the xlf library.
  23.  
  24.     Then, bind the intermediate object with the other shared libraries in
  25.     the normal fashion:
  26.  
  27.        $ ld -bh:4 -T512 -H512 <C or other modules> intermediate.o \
  28.          /lib/crt0.o -lm -lc
  29.  
  30.     Note the absence of -berok.  After this link, all references should
  31.     be resolved (unless you're doing a multistage link and making another
  32.     intermediate).
  33.  
  34.     NOTE THE ORDER OF MODULES.  This is extremely important if, for example,
  35.     you had a subroutine named "load" in your Fortran stuff.  Putting the
  36.     C libraries before the intermediate module would make the C "load"
  37.     the operable definition, rather than the Fortran version EVEN THOUGH
  38.     THE FORTRAN MODULE HAS ALREADY BEEN THROUGH A LINK AND ALL REFERENCES
  39.     TO THE SYMBOL ARE CONTAINED IN THE FORTRAN MODULE.  This can
  40.     be extremely difficult to find (trust me on this one :-)  Is this
  41.     a bug, a feature, or what?
  42.  
  43.     [As mentioned in section 2.03 of this article, it is a feature that you
  44.     can replace individual objects in linked files, ed.]
  45.  
  46.     The result will be a slightly larger object than normal.  (I say slightly
  47.     because mine went up 5%, but then its a 2 MB object :-)
  48.  
  49.  
  50. Comments & Caveats:
  51.  
  52.    From the documentation the -r argument to the linker should do what
  53.    -berok does.  It does not.  Very strange results come from using the
  54.    -r argument.  I have not been able to make -r work in a sensible manner
  55.    (even for intermediate links which is what it is supposed to be for).
  56.    Note: this is one of the things I gave up on.  I would like to hear
  57.    from anyone with more info on this.
  58.  
  59.    When binding an intermediate module, use an export file to define the
  60.    entry points you want visible in the later link.  If you don't do this,
  61.    you'll get the dreaded "unresolved reference" error.  Import files name
  62.    entry points that will be dynamically resolved (and possibly where).
  63.  
  64.    If you are in doubt about what parameters or libraries to link, use the
  65.    -v arg when linking and modify the exec call that shows up into
  66.    an ld command.  Some thought about the libraries will usually yield an
  67.    idea of when to use what.  If you don't know what an argument is for,
  68.    leave it in.  It's there for a purpose (even if you don't understand it).
  69.  
  70.    Watch the order of external definitions (ie, libraries) when more than
  71.    one version of a routine may show up, eg "load".  The first one defined
  72.    on the ld command line is the winner.
  73.  
  74.    The getenv (and system and signal) problem is a problem that started out
  75.    minor, got somewhat worse in 3003 and, eventually will be correctly fixed.
  76.    Basically, you should extract the 3002 version of these three routines
  77.    from xlf.a before doing the update and save them away, then link these
  78.    routines in if you use these Fortran system services.
  79.  
  80.  
  81. 3.03: How do I check if a number is NaN?
  82. From: sdl@glasnost.austin.ibm.com (Stephen Linam)
  83.  
  84. NaN is "Not a Number".  It arises because the RISC System/6000 uses
  85. IEEE floating point arithmetic.
  86.  
  87. To determine if a variable is a NaN you can make use of the property
  88. that a NaN does not compare equal to anything, including itself.
  89. Thus, for real variable X, use
  90.  
  91.     IF (X .NE. X) THEN    ! this will be true if X is NaN
  92.  
  93. Floating point operations which cause exceptions (such as an overflow)
  94. cause status bits to be set in the Floating Point Status and Control
  95. Register (FPSCR).  There is a Fortran interface to query the FPSCR, and
  96. it is described in the XLF Fortran manuals -- I don't have the manuals
  97. right here, but look for FPGETS and FPSETS.
  98.  
  99. I don't know of any tutorials about IEEE Floating Point beyond the
  100. standards themselves: ANSI/IEEE STD 754-1985 (IEEE Standard for Binary
  101. Floating-Point Arithmetic) and ANSI/IEEE STD 854-1987 (IEEE Standard for
  102. Radix-Independent Floating-Point Arithmetic), both available from IEEE.
  103. The IBM manual "Risc System/6000 Hardware Technical Reference - General
  104. Information" (SA23-2643) describes what floating point exceptions can
  105. occur and which bits are set in the FPSCR as a result of those exceptions.
  106.  
  107. ______________________________________________________________________________
  108. 4.00: Public Domain software
  109.  
  110. There is a lot of interest in PD software, and a number of people have
  111. compiled some of this.  With the increasing interest in the RS/6000,
  112. configuration files, etc. is often seen in PD software or can be
  113. obtained from people who already ported it.
  114.  
  115.  
  116. 4.01: How do I find sources?
  117.  
  118. [ dick@ccnext.ucsf.edu (Dick Karpinski) asked me to include this
  119.  information, and he forwarded me an article from jik@MIT.Edu
  120.  (Jonathan Kamens).  Ed. ]
  121.  
  122. There is a newsgroup devoted to posting about how to get a certain
  123. source.  It is however strongly urged to follow the guidelines in
  124. the article How_to_find_sources(READ_THIS_BEFORE_POSTING), which you
  125. can get via anonymous ftp from pit-manager.mit.edu (18.172.1.27):
  126.  
  127. /pub/usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  128.  
  129. Also available from mail-server@pit-manager.mit.edu by sending a mail
  130. message containing:
  131.  
  132. send usenet/comp.sources.wanted/H_t_f_s_(R_T_B_P)
  133.  
  134. Send a message containing "help" to get general information about the
  135. mail server.
  136.  
  137. If you don't find what you were looking for by following these
  138. guidelines, you can post a message to comp.sources.wanted.
  139.  
  140.  
  141. 4.02: Are there any ftp sites?
  142.  
  143. Here is a list of some sites that are supposed to have RS/6000 specific
  144. software.  I haven't verified all the entries.
  145.  
  146. aixpdslib.seas.ucla.edu    128.97.2.211    pub
  147. acd.ucar.edu        128.117.32.1     pub/rs6000
  148. acsc.acsc.com       143.127.0.2    pub
  149. byron.u.washington.edu    128.95.48.32    pub/aix/RS6000
  150. cs.utk.edu        128.169.201.1    pub/ibm_rs6000
  151. merit.edu        35.1.1.42    pub/xntp
  152. lightning.gatech.edu    128.61.10.8    pub/aix
  153. tesla.ee.cornell.edu    128.84.253.11    pub
  154. nic.funet.fi         128.214.6.100    pub/unix/AIX/RS6000
  155.  
  156. The first one above is dedicated to software running on AIX.  It might
  157. not always be the latest versions of the software, but it has always
  158. been ported to AIX (normally AIX version 3 only).  Once connected, you
  159. should retrieve the files README and pub/ls-lR.
  160.  
  161. Please note that the last one is in Finland, i.e.  in EUROPE! They are
  162. having much too many people ftp'ing from the US which is hard on the
  163. transatlantic link - further, most of the software it carries has been
  164. taken from US sites originally.  Therefore, please use this site ONLY if
  165. you are in Europe, preferably only from the northern part of Europe.
  166.  
  167. Further, haedener@iacrs1.unibe.ch (Konrad Haedener) has an archive on
  168. a system in Switzerland.  Here is his information about the archive:
  169.  
  170. As previously announced I have opened our machine for anonymous FTP.  I
  171. have a small but growing collection of RS/6000 software, i.e. versions
  172. of popular software that should readily compile under AIX 3.1.5.
  173.  
  174. Contributions are always welcome (please consult the /README file).
  175. This is host iacrs1.unibe.ch (130.92.11.3).
  176.  
  177. Do remember, that Switzerland is in Europe, i.e. keep the transatlantic
  178. transfers on a minimum.
  179.  
  180.  
  181. 4.03: General hints
  182.  
  183. In general, curses based applications should be linked with -lcurses and
  184. _not_ with -ltermlib.  It has also been reported that compiling with
  185. -DNLS helps curses based programs.
  186.  
  187. Note that the RS/6000 has two install programs, one with System V flavor
  188. in the default PATH (/etc/install with links from /usr/bin and /usr/usg),
  189. and one with BSD behavior in /usr/ucb/install.
  190.  
  191.  
  192. 4.04: GNU Emacs
  193. From: Bill Wohler <wohler@sap-ag.de>
  194.  
  195. Version 18.57 of GNU Emacs has RS/6000 support.  Here are a few hints:
  196. In the src directory, copy config.h-dist to config.h and make the
  197. following changes:
  198.  
  199.     o change "s-bsd4-2.h" to "s-aix3-1.h"
  200.     o change "m-vax.h" to "m-ibmrs6000.h"
  201.     o define HAVE_X_WINDOWS
  202.         o define X11
  203.         o define PURESIZE 135000 (120000 is enough without X)
  204.         o if you don't want to compile with debugging information, add:
  205.           #define C_DEBUG_SWITCH
  206.           #define C_OPTIMIZE_SWITCH -O
  207.  
  208. Now, run "make" and ignore the sed problems while building xmakefile.
  209.  
  210. Emacs will core-dump if it is stripped, so don't strip when you install
  211. it.  You can e.g.  edit (a copy of the) Makefile in src replacing all
  212. 'install -s' with /usr/ucb/install.
  213.  
  214. [The latest version of emacs is 18.59 but I did not have a chance to
  215. look at it yet. - ed.]
  216.  
  217.  
  218. 4.05: gcc/gdb
  219.  
  220. GNU C version 2.0 supports the the RS/6000, and compiles straight out of
  221. the box.  You may, however, experience that compiling it requires large
  222. amounts of paging space.
  223.  
  224. The latest versions of gcc and gdb, currently 2.3.1 and 4.6
  225. respectively, requires a patch to the 'as' assembler to compile.  Call
  226. IBM software support and request patch U4     .
  227.  
  228. 4.06: GNU Ghostscript 2.3
  229.  
  230. The PostScript interpreter GNU Ghostscript Version 2.3 supports the
  231. RS/6000 and can be found on various ftp sites.
  232.  
  233. 4.07: TeX
  234.  
  235. TeX can be retrieved via ftp from rusmvl.rus.uni-stuttgart.de (129.69.1.12).
  236.  
  237.  
  238. 4.08: perl
  239.  
  240. A diff should have been posted here, but I haven't seen it.  If you use
  241. bsdcc from the bsdport document, say no to use perl's builtin malloc(),
  242. and edit config.H to '#define HAS_SYMLINK', you should be on your way.
  243. Bill Wohler tells me that perl will run without editing config.H and
  244. with cc as well.  So just say no to use perl's malloc().
  245.  
  246. Doug Sewell <DOUG@YSUB.YSU.EDU> adds:
  247.  
  248. In addition to not using the perl-provided malloc, when asked if you
  249. want to edit config.sh, change 'cppstdin' from the wrapper-program
  250. to '/lib/cpp'.
  251.  
  252. The perl wrapper name is compiled into perl, and requires that you keep
  253. that file in the source directory, even if you blow away the rest of
  254. the source.  /lib/cpp will do the job by itself.  I suspect this will
  255. be fixed in perl 4.0pl11 Configure script.
  256.  
  257. Also, beware if you have gdbm installed per the instructions in the FAQ.
  258. Gdbm is compiled with bsdcc; perl (as I installed it, anyway) was built
  259. with cc, so I used the IBM-provided ndbm routines.
  260.  
  261.  
  262. 4.09: X-Windows
  263.  
  264. IBM has released X11R4 and Motif 1.1 in combination with AIX 3.2.0.
  265. X11R5 is available as AIXwindows 1.2.3 since AIX Level 3.2.3.
  266.  
  267. Those of you on 3.1 might want to read the following.  Some people from
  268. IBM have released patches for the X11R4 distribution tape available via
  269. anonymous FTP from export.lcs.mit.edu.  Note that as with the RT, there
  270. is no X11R4 server to build, just the libraries.
  271.  
  272. From: Frederick Staats <fritz@saturn.ucsc.edu>
  273.  
  274. In mit/config/ibm.cf
  275.     Updated OSName (AIX 3.1.6)
  276.  
  277. In mit/config/site.def
  278.     Changed ProjectRoot /usr/local/X11R5
  279.     Added ManSuffix (to change suffix from n to 1)
  280.     Added InstallXdmConfig YES and
  281.     InstallXinitConfig YES
  282.     Added HasXdmAuth YES (Copied mit/lib/Xdmcp/Wraphelp.c to source tree)
  283.     Added InstallFSConfig YES
  284.  
  285. In mit
  286.     nohup make BOOTSTRAPCFLAGS="-Daix" World &
  287.     nohup make install &
  288.     nohup make install.man &
  289.  
  290. Please note that there are known bugs in Xibm server of the X11R5
  291. release that prevent "xdm" from being usable.  A simple patch (that I'm
  292. not free to redistribute) should be out very soon through the regular
  293. contrib channels.
  294.  
  295. Also note, that some files in mit/extensions/lib/PEX/c_binding are very
  296. large and are told to require at least 150 Mb paging space to compile.
  297.  
  298. Apparently, only the Skyway adapter is supported for X11R5.
  299.  
  300. [the Skyway adapter is "IBM Color Graphics Display Adaptor" in IBM
  301. documents, the "IBM High-Performance N-Bit 3D Color Graphics Processor"
  302. is the Sabine.  Ed.]
  303.  
  304.  
  305. From: pierce@claven.cambridge.ibm.com (Andrew Pierce)
  306.  
  307. The following bugs have been reported with the R5 server and are fixed
  308. (hopefully!), and the fixes have been sent to MIT for inclusion in the
  309. first patch set:
  310.  
  311. BackingStore does not seem to work (twm menus blank and xman pulldown
  312.     menus only display once.
  313. Problem in keyclick restoration/bell
  314. Problem with option parsing (-bs does not turn off backing store).
  315. Problem with setting non-blocking I/O on X Connections
  316.     (resizing xcalc wedges the server).
  317. xdm core dumps.
  318.  
  319. There is also a problem in initializing the display adapter when the R5
  320. server is brought up from a poweroff condition on the RISC/6000.  We are
  321. still investigating this problem.  A temporary workaround is to run the
  322. AIX product server first, which seems to do the right thing in
  323. initializing the adapter, then run the R5 server.
  324.  
  325. As for whether the OSF/Motif window manager will work with the R5
  326. server, I don't know of any reasons why it shouldn't, and I've run it
  327. now and again, although tvtwm is my preferred wm.
  328.  
  329.  
  330. From: cary@jove.Colorado.EDU (John R. Cary)
  331.  
  332. There are (at least) three problems.
  333.  
  334. 1) The fonts as built with the IBM (Greening) patches of X11R4 do not
  335. work with the AIX3.1.5 server because (according to mleisher@NMSU.Edu)
  336. they likely have the wrong byte order.
  337. 2) The ibm fonts that come with AIX3.1.5 must be converted to .pcf fonts
  338. to work with the X11R5 server.
  339. 3) Info always looks for its fonts (in /usr/lpp/info/X11fonts)
  340. regardless of which server you are using.  So if you use the X11R5
  341. server, info loads the AIX3.1x .snf fonts, which do not work with the
  342. X11R5 server.
  343.  
  344. Using the X11R5 server (my choice) means that you must fix problems 2
  345. and 3.
  346.  
  347. My fix of 3: was simply to rename the info fonts directory so that info
  348. could not find it and load it.  Another fix (I am told) is to set one's
  349. font path with /usr/lpp/info/X11fonts last so that another fonts is
  350. loaded first.  This did not work for me, perhaps because of differences
  351. in my fonts.alias file.
  352.  
  353. My fix of 2: I first got snftobdf from the X11 contrib directory on
  354. export.lcs.mit.edu and built it. I then made a directory:
  355. mkdir /usr/local/X11R5/lib/X11/fonts/ibm
  356. which I added to my font path with xset in my .xinitrc file.
  357. Then I constructed the chosen .pcf fonts one at a time:
  358. cd /usr/lib/X11/fonts
  359. snftobdf Rom10.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/Rom10.pcf
  360. I actually did this with this script:
  361.  
  362. #!/bin/ksh
  363. # A script to convert desired AIX fonts to .pcf fonts for X11R5
  364. for arg in 6x10 Bld14 Rom14 Rom6 6x12 Bld17 Rom16 Rom7 vtbold 6x13
  365. Erg 14 Rom17 Rom8 vtdhbot 8x13 Itl14 Rom22 cursor vtdhtop 8x13B Rom10
  366. Rom28 fixed vtdwidth 9x15 Rom11 Rom29 Vtsingle
  367. do
  368.  
  369. echo "snftobdf $arg.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/$arg.pcf"
  370. snftobdf $arg.snf | bdftopcf >/usr/local/X11R5/lib/X11/fonts/ibm/$arg.pcf
  371.  
  372. done
  373.  
  374. If you want to continue using the AIX3.1x server and you want to use the
  375. X11R4 fonts, you must convert these fonts to the correct bit order.  I
  376. did not do this, and so DO NOT KNOW the correct procedure.  I imagine
  377. that once the correct bit order is determined, one can use snftobdf to
  378. convert fonts back tobdf format then bdftosnf with correct AIX3.1.  bit
  379. order to get things correct with the aix3.1x server.
  380.  
  381.  
  382. 4.10: bash
  383.  
  384. Bash is ported and has some patches on prep.ai.mit.edu.  The current
  385. version is 1.12 and seems to work fine.
  386.  
  387.  
  388. 4.11: Elm
  389.  
  390. Elm should be pretty straightforward, the only thing to remember is to
  391. link with -lcurses as the only curses/termlib library.  You may also run
  392. into the problem listed under point 2.13 above.
  393.  
  394. 4.12: Oberon 2.2
  395.  
  396. From: afx@muc.ibm.de (Andreas Siegert)
  397.  
  398. Oberon is Wirth's followon to Modula-2, but is not compatible.  A free
  399. version of Modula-3 is available from DEC/Olivetti at gatekeeper.dec.com.
  400. This is also not a Modula-2 replacement but a new language.  There are
  401. currently two M2 compilers for the 6000 that I know of.  One from
  402. Edinburgh Portable Compilers, contact +44 31 225 6262 (UK) or the
  403. Gardens Point compiler contact +41 65 520311 (Switzerland).
  404.  
  405. Oberon can be obtained via anonymous ftp from neptune.inf.ethz.ch
  406. (129.132.101.33) under the directory Oberon/RS6000 or gatekeeper.dec.com
  407. (16.1.0.2).
  408.  
  409.  
  410. 4.13: Kermit
  411.  
  412. Available from watsun.cc.columbia.edu [128.59.39.2] directory kermit/sw.
  413. Get it, uncompress, untar, and "make rs6000", and it works.
  414.  
  415. 5a184 had a bug with the lock file names.  Grab the latest from
  416. watsun.cc.columbia.edu in the kermit/test directory.  (5a is still
  417. officially in beta, so get your bug reports in quick if you want them
  418. fixed before 5b.)
  419.  
  420.  
  421. 4.14: Gnu dbm
  422. From: doug@cc.ysu.edu (Doug Sewell)
  423.  
  424. Here's the fixes for RS/6000's:
  425.  
  426. apply this to testgdbm.c:
  427. 158c158
  428. <   char opt;
  429. ---
  430. >   int opt;
  431. 166c166
  432. <   while ((opt = getopt (argc, argv, "rn")) != -1)
  433. ---
  434. >   while ((opt = getopt (argc, argv, "rn")) != EOF)
  435.  
  436. Apply this to systems.h:
  437. 111a112,114
  438. > #ifdef RS6000
  439. > #pragma alloca
  440. > #else
  441. 112a116
  442. > #endif
  443.  
  444. To compile, edit the Makefile.  Set CC to bsdcc (see /usr/lpp/bos/bsdport
  445. if you don't have 'bsdcc' on your system) and set CFLAGS to -DRS6000 and
  446. whatever options (-g, -O) you prefer.  Don't define SYSV.
  447.  
  448. Doug Sewell, Tech Support, Computer Center, Youngstown State University
  449. doug@ysu.edu doug@cc.ysu.edu doug@ysub.bitnet uunet!ysu.edu!doug
  450.  
  451.  
  452. 4.15: tcsh
  453. From: cordes@athos.cs.ua.edu (David Cordes)
  454.  
  455. tcsh : available from telsa.ee.cornell.edu  (pub/tcsh-6.00 directory)
  456. Compiles with no problems.  You must edit /etc/security/login.cfg
  457. to permit users to change to this shell (chsh), adding the path
  458. where the shell is installed (in my case, /usr/local/bin/tcsh).
  459.  
  460.  
  461. 4.16: Kyoto Common Lisp
  462. From: cordes@athos.cs.ua.edu (David Cordes)
  463.  
  464. kcl : Kyoto Common Lisp.  The sources are available from "cli.com".  The
  465. kcl package is the needed base, then also retrieve the latest akcl
  466. distribution.  akcl provides a front-end that "ports" the original kcl
  467. to a number of different platforms.  The port to the 6000s worked with
  468. no problems.  However, you must be "root" for the make to work properly
  469. with some memory protection routines.
  470.  
  471.  
  472. 4.17: TCL
  473. From: Doug Sewell <DOUG@YSUB.YSU.EDU>
  474.  
  475.    === building the tcl library ===
  476.  
  477. First, V3.3 compiled with BSDCC, but tclTest would core-dump.
  478.  
  479. I retrieved V4.0 from the alt.sources archives, but couldn't get it
  480. to compile on an RS6000, using either the BSD or SYSV versions.
  481.  
  482. Finally, someone mentioned that Tcl5.0 was available.
  483.  
  484. I ftp'd sprite.berkeley.edu.  The only version of 'tcl' was 3.3.
  485. The version 5 is a part of 'tk.tar.Z'.  You have to un-tar-Z that
  486. and get tcl 5.0 out of there.
  487.  
  488. Next, I built it with 'bsdcc' (make "CC=bsdcc").  I had to replace the
  489. provided stdlib.h with the AIX stdlib.h because of some conflicts.  I
  490. built tclTest, cd'd to 'tests', ran ../tclTest and entered 'source all'.
  491.  
  492. I got an error in file.test when I ran the program as root.  When I ran
  493. it as anyone else, it runs fine - it has something to do with a file you
  494. shouldn't be able to get to, but because I wase root I could anyway.
  495.  
  496. I copied tcl.a to /usr/lib/libtcl.a, and put tcl.h into /usr/include.
  497. Your procedures for local libraries and includes may vary.  I also put
  498. tclTest in a public executable directory, since it was a way to putter
  499. with tcl interactively.
  500.  
  501. NOTE: since libtcl.a was built with bsdcc, you'll probably have to use
  502. bsdcc to write or support any tcl applications, including expect.
  503.  
  504.  
  505. 4.18: Expect
  506. From: Doug Sewell <DOUG@YSUB.YSU.EDU>
  507.  
  508. To build the command-interpreter version, you must have the tcl
  509. library built successfully.  The expect library doesn't require tcl.
  510. Note: Expect and its library are are built with bsdcc, so applications
  511. using the library probably also need to be developed with bsdcc.
  512.  
  513. I ftp'd expect from ftp.cme.nist.gov.
  514.  
  515. You need to change several lines in the makefile.  First you need
  516. to customize source and target directories and files:
  517. #
  518. TCLHDIR = /usr/include
  519. TCLLIB = -ltcl
  520. MANDIR = /usr/man/manl               (local man-pages)
  521. MANEXT = l
  522. BINDIR = /u/local/bin
  523. LIBDIR = /usr/lib
  524. HDIR = /usr/include
  525. ...
  526. Next set the compiler, switches, and configuration options:
  527. #
  528. CC = bsdcc
  529. CFLAGS = -O
  530. ...
  531. PTY_TYPE = bsd
  532. ...
  533. INTERACT_TYPE = select
  534. ...
  535. Then you need to make these changes about line 90 or so:
  536. comment out CFLAGS = $(CLFLAGS)
  537. un-comment these lines:
  538. CFLAGS = $(CLFLAGS) $(CPPFLAGS)
  539. LFLAGS = ($CLFLAGS)
  540.  
  541. Then run 'make'.
  542.  
  543. You can't run some of the examples without modification (host name,
  544. etc).  I don't remember if I ran all of them or not, but I ran enough
  545. that I was satisfied it worked.
  546.  
  547. ______________________________________________________________________________
  548. 5.00: Third party products
  549.  
  550. [ Editor's note: Entries in this section are edited for formatting and for
  551.   the purpose of not being like advertising. ]
  552.  
  553. Some information in here seems rather outdated......
  554.  
  555.  
  556. 5.01: Disk/Tape/SCSI
  557. From: anonymous
  558.  
  559. - Most SCSI disk drives work (IBM resells Maxtor, tested Wren 6&7 myself)
  560.  
  561. - Exabyte: Unfortunately only the ones IBM sells are working
  562.  
  563. - STK 3480 "Summit": Works with Microcode Version 5.2b
  564.  
  565.  
  566. 5.02: Disks
  567. From: bowman@uiatma.atmos.uiuc.edu
  568.  
  569. For third-party disks for the RS6000, I can recommend:  Ken Been at
  570. National Peripherals, (708) 325-4151.
  571.  
  572.  
  573. 5.03: Memory
  574. From: blain@VM.UoGuelph.CA (Doug Blain)
  575.  
  576. I have received a FAX from Kingston Technologies on SIMM memory upgrades
  577. for the RS6000 (model 320/520 only so far).  They are complete
  578. replacements for the installed SIMMs from IBM ( you get to keep the IBM
  579. SIMMs and perhaps use them elsewhere).  They have a 16, 32 and 64 MB
  580. range of kits.  The quoted list prices are;
  581.  
  582.       16 MB SIMM Kit   $ 3,995
  583.       32 MB SIMM Kit   $ 8,995
  584.       64 MB SIMM Kit   $21,585
  585.  
  586. One option they mention in their letter is to purchase an additional
  587. memory card from IBM (type S1 or higher) and populate it with the new
  588. memory, since the RS/6000 will support two memory cards.  The list price
  589. for the IBM 16mb SIMMs is $9520 (however our SE is hinting at price
  590. reductions of 25% soon).  Kingston Technologies can be contacted at
  591. 714-435-2600.  Standard disclaimers apply...no association, benefits, etc.
  592.  
  593. From: dick@ccnext.ucsf.edu (Dick Karpinski)
  594.  
  595. Dick Verling at 415-381-2081 offers a 64MB upgrade for a bit over $5k.
  596.  
  597.  
  598. 5.04: Others
  599. From: anonymous
  600.  
  601. IBM RISC System/6000 Interface Products
  602.  
  603. National Instruments Corporation announced April 13 a family of
  604. instrumentation interface products for the IBM RISC System/6000
  605. workstation family.  The interface family consists of three products
  606. that give the RISC System/6000 connectivity to the standards of VMEbus,
  607. VXIbus and GPIB.  For more information, contact National Instruments
  608. Corporation, 512-794-0100 or 1-800-433-3488.
  609.  
  610.  
  611. 5.05: IBM list of third party products
  612. From: marc@ibmpa.awdpa.ibm.com (Marc Pawliger)
  613.  
  614. Marc Pawliger post an extensive list periodically on this newsgroup
  615. about various third party hardware products for the RS/6000.  This list
  616. can also be ftp'd from ibminet.awdpa.ibm.com.
  617.  
  618.  
  619. 5.06: C++ compilers
  620.  
  621. There are two software vendors providing C++ compilers, Glockenspiel and
  622. Greenhills.  xlC++ is available from IBM.
  623. ______________________________________________________________________________
  624. 6.00: Miscellaneous other stuff
  625.  
  626. 6.01: Can I get support by email?
  627.  
  628. AIXServ is a service tool that allows users connected to the internet
  629. and usenet to report problems using unix mail (E-Mail).  AIXServ is
  630. available at no charge, to request a copy of this package send a note to
  631. one of the following E-Mail addresses:
  632.  
  633.     Internet:        aixbugs%aixserv@uunet.UU.NET
  634.     USENET:          uunet.UU.NET!aixserv!aixbugs
  635.  austin.ibm.com domain:  aixbugs@austin.ibm.com
  636.  
  637. with the subject of "package".
  638.  
  639. The package will be mailed electronically and will contain instructions
  640. for using AIXServ.
  641.  
  642. Using AIXServ, customers have the ability to 1) open new problem reports
  643. 2) update existing problem records 3) Request a status update on an
  644. existing problem record.
  645.  
  646.  
  647. 6.02: Some RS232 hints
  648. From: graeme@ccu1.aukuni.ac.nz
  649.  
  650. Q: How do you connect a terminal to the RS232 tty ports when not using
  651.    the standard IBM cable & terminal transposer?
  652. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  653.    2- On the computer side, loop pins 8->20 (DCD & DTR)
  654.  
  655. When booting from diskettes, the port speed is always 9600 baud.  If you
  656. use SMIT to set a higher speed (38400 is nice) for normal use, remember
  657. to reset your terminal before booting.
  658.  
  659. Q: How do you connect a printer to the RS232 tty ports
  660. A: 1- Connect pins 2->3, 3->2, 7->7 on the DB25's
  661.    2- On the computer side, loop pins 4->5 (CTS & RTS)
  662.  
  663.  
  664. 6.03: VT100 key bindings for aixterm
  665. From: haedener@iac.unibe.ch (Konrad Haedener)
  666.  
  667. Add this to your .Xdefaults file and start your VAX session with
  668. 'aixterm -v -name vt100 -e telnet MYVAXHOST'
  669.  
  670. -----
  671. vt100.foreground: Wheat
  672. vt100.background: MidnightBlue
  673. vt100.font: Rom14.500
  674. vt100.geometry: 80x25+0+0
  675. vt100.vt102: true
  676. vt100.fullcursor: false
  677. vt100.pointerColor: coral
  678. vt100.cursorColor: gray100
  679. vt100.translations:    <Key>F1: string(0x1b) string("OP") \n\
  680.                        <Key>F2: string(0x1b) string("OQ") \n\
  681.                        <Key>F3: string(0x1b) string("OR") \n\
  682.                        <Key>F4: string(0x1b) string("OS") \n\
  683.                        <Key>KP_0: string(0x1b) string("Op") \n\
  684.                        <Key>KP_1: string(0x1b) string("Oq") \n\
  685.                        <Key>KP_2: string(0x1b) string("Or") \n\
  686.                        <Key>KP_3: string(0x1b) string("Os") \n\
  687.                        <Key>KP_4: string(0x1b) string("Ot") \n\
  688.                        <Key>KP_5: string(0x1b) string("Ou") \n\
  689.                        <Key>KP_6: string(0x1b) string("Ov") \n\
  690.                        <Key>KP_7: string(0x1b) string("Ow") \n\
  691.                        <Key>KP_8: string(0x1b) string("Ox") \n\
  692.                        <Key>KP_9: string(0x1b) string("Oy") \n\
  693.                        <Key>KP_Divide: string(0x1b) string("OQ") \n\
  694.                        <Key>KP_Multiply: string(0x1b) string("OR") \n\
  695.                        <Key>KP_Subtract: string(0x1b) string("OS") \n\
  696.                        <Key>KP_Add: string(0x1b) string("Om") \n\
  697.                        <Key>KP_Enter: string(0x1b) string("OM") \n\
  698.                        <Key>KP_Decimal: string(0x1b) string("On") \n\
  699.                        <Key>Next: string(0x1b) string("Ol") \n\
  700.                        <Key>Left: string(0x1b) string("OD") \n\
  701.                        <Key>Up: string(0x1b) string("OA") \n\
  702.                        <Key>Right: string(0x1b) string("OC") \n\
  703.                        <Key>BackSpace : string(0x7f) \n\
  704.                        <Key>Down: string(0x1b) string("OB")
  705.  
  706. You should also add
  707.  
  708. XENVIRONMENT=$HOME/.Xdefaults
  709. export XENVIRONMENT
  710.  
  711. to your .profile.
  712.  
  713.  
  714. 6.04  What publications are available for AIX and RS/6000?
  715.  
  716. The following are free just for the asking:
  717.  
  718. 1. RS/Magazine
  719.    P.O. Box 3272
  720.    Lowell, MA 01853-9876
  721.  
  722. 2. AIXpert
  723.    IBM Corporation
  724.    Mail Stop 36
  725.    472 Wheelers Farms Road
  726.    Milford, CT 06460
  727.  
  728. 3. RiSc World
  729.    P.O. Box 399
  730.    Cedar Park, TX 78613
  731.  
  732.  
  733. These manuals should be available from your friendly neighborhood IBM office.
  734.  
  735. SC23-2204-02  Problem Solving Guide
  736. SA23-2631-05  Diagnostic Programs: Operator Guide
  737. SA23-2632-05  Diagnostic Programs: Service Guide
  738. SA23-2643-01  Hardware Technical Reference: General Information
  739. SA23-2646-01  Hardware Technical Reference: Options and Devices
  740. SA23-2629-07  Service Request Number Cross Reference, Ver 2.2
  741.  
  742.  
  743. 6.05: Some acronyms
  744.  
  745. BOS  - Basic Operating System
  746. ODM  - Object Database Manager
  747. LPP  - Licensed Program Product
  748. SMIT - System Management Interface Tool
  749. PTF  - Program Temporary Fix
  750. APAR - authorized program analysis report
  751. PRPQ - programming request for price quotation
  752. DCR  - design change request
  753. _____________________________________________________________________________
  754. 7.00: How do I get this by mailserver or ftp?
  755.  
  756. Since the articles are crossposted to news.answers, any archive carrying
  757. that newsgroup will also have these articles.
  758.